package com.huey.utils.execl;

import java.util.List;

/**
 * @author xubo
 * @version 1.0
 * @description 每个sheet配置
 * @createTime 2019/12/31 16:38
 */
public class SheetConfigDTO<T> {
    /** sheet名 */
    private String sheetName;
    /** class类型 */
    private Class<T> pojoClass;
    /** 数据集合 */
    private List<T> datas;

    public SheetConfigDTO() {
        super();
    }

    public SheetConfigDTO(String sheetName, Class<T> pojoClass, List<T> datas) {
        this.sheetName = sheetName;
        this.pojoClass = pojoClass;
        this.datas = datas;
    }

    public String getSheetName() {
        return sheetName;
    }

    public void setSheetName(String sheetName) {
        this.sheetName = sheetName;
    }

    public Class<T> getPojoClass() {
        return pojoClass;
    }

    public void setPojoClass(Class<T> pojoClass) {
        this.pojoClass = pojoClass;
    }

    public List<T> getDatas() {
        return datas;
    }

    public void setDatas(List<T> datas) {
        this.datas = datas;
    }
}

